
SRC := ../../modules/*/*.c
IDIRS := -I ../../modules/broker/ -I../../modules/common_data/ -I../../modules/tlm_srv/
LINK := -lev

all: server client writer

server: tlm_main.c $(SRC)
	gcc -o srv tlm_main.c $(SRC) $(IDIRS) $(LINK)

client: tlm_cl_main.c $(SRC)
	gcc -o cl tlm_cl_main.c $(SRC) $(IDIRS) $(LINK)

writer: writer_main.c $(SRC)
	gcc -o wtr writer_main.c $(SRC) $(IDIRS) $(LINK) 
